
package com.ktgj.common.spring.entity.iata.iata_airshoppingrs;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>LoyaltyRedemptionType complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="LoyaltyRedemptionType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="CertificateNumber" type="{http://www.w3.org/2001/XMLSchema}decimal" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="LoyaltyCurAmount" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}AmountType" minOccurs="0"/&gt;
 *         &lt;element name="LoyaltyProgramAccount" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}LoyaltyProgramAccountType" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LoyaltyRedemptionType", propOrder = {
    "certificateNumber",
    "loyaltyCurAmount",
    "loyaltyProgramAccount"
})
public class LoyaltyRedemptionType {

    @XmlElement(name = "CertificateNumber")
    protected List<BigDecimal> certificateNumber;
    @XmlElement(name = "LoyaltyCurAmount")
    protected AmountType loyaltyCurAmount;
    @XmlElement(name = "LoyaltyProgramAccount")
    protected LoyaltyProgramAccountType loyaltyProgramAccount;

    /**
     * Gets the value of the certificateNumber property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the certificateNumber property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getCertificateNumber().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link BigDecimal }
     * 
     * 
     */
    public List<BigDecimal> getCertificateNumber() {
        if (certificateNumber == null) {
            certificateNumber = new ArrayList<BigDecimal>();
        }
        return this.certificateNumber;
    }

    /**
     * 获取loyaltyCurAmount属性的值。
     * 
     * @return
     *     possible object is
     *     {@link AmountType }
     *     
     */
    public AmountType getLoyaltyCurAmount() {
        return loyaltyCurAmount;
    }

    /**
     * 设置loyaltyCurAmount属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link AmountType }
     *     
     */
    public void setLoyaltyCurAmount(AmountType value) {
        this.loyaltyCurAmount = value;
    }

    /**
     * 获取loyaltyProgramAccount属性的值。
     * 
     * @return
     *     possible object is
     *     {@link LoyaltyProgramAccountType }
     *     
     */
    public LoyaltyProgramAccountType getLoyaltyProgramAccount() {
        return loyaltyProgramAccount;
    }

    /**
     * 设置loyaltyProgramAccount属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link LoyaltyProgramAccountType }
     *     
     */
    public void setLoyaltyProgramAccount(LoyaltyProgramAccountType value) {
        this.loyaltyProgramAccount = value;
    }

}
